//
//  ImportWIFIController.swift
//  Unzip
//
//  Created by zhibao on 2024/8/1.
//

import UIKit

class ImportWIFIController: SecSuperController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.gk_navTitle = LocalizedString("WIFI导入")
        
        let temp1Label = UILabel()
        temp1Label.text = LocalizedString("将传输设备连接在同一WIFI")
        temp1Label.font = MY_SCALE_MediumFONT(14)
        temp1Label.numberOfLines = 0
        temp1Label.lineBreakMode = .byWordWrapping
        temp1Label.textColor = UIColor.white
        self.view.addSubview(temp1Label)
        temp1Label.snp.makeConstraints { make in
            make.left.equalTo(pixw(p: 20))
            make.right.equalTo(pixw(p: -20))
            make.top.equalTo(pixw(p: 60) + navigationFullHeight())
        }
        
        let temp2Label = UILabel()
        temp2Label.text = LocalizedString("在浏览器输入以下地址：")
        temp2Label.font = MY_SCALE_MediumFONT(14)
        temp2Label.numberOfLines = 0
        temp2Label.lineBreakMode = .byWordWrapping
        temp2Label.textColor = UIColor.white
        self.view.addSubview(temp2Label)
        temp2Label.snp.makeConstraints { make in
            make.left.right.equalTo(temp1Label)
            make.top.equalTo(temp1Label.snp.bottom).offset(pixw(p: 20))
        }
        
        let temp3Label = UILabel()
        temp3Label.text = "http://192.168.2.30:3480"
        temp3Label.font = MY_SCALE_MediumFONT(17)
        temp3Label.numberOfLines = 0
        temp3Label.lineBreakMode = .byWordWrapping
        temp3Label.textColor = MYOrange
        self.view.addSubview(temp3Label)
        temp3Label.snp.makeConstraints { make in
            make.left.right.equalTo(temp2Label)
            make.top.equalTo(temp2Label.snp.bottom).offset(pixw(p: 30))
        }
        
        let temp4Label = UILabel()
        temp4Label.text = LocalizedString("警告：\n 请不要在传输过程中离开此界面,否则可能中断传输！")
        temp4Label.font = MY_SCALE_MediumFONT(17)
        temp4Label.numberOfLines = 0
        temp4Label.lineBreakMode = .byWordWrapping
        temp4Label.textColor = MYOrange
        self.view.addSubview(temp4Label)
        temp4Label.snp.makeConstraints { make in
            make.left.right.equalTo(temp3Label)
            make.top.equalTo(temp3Label.snp.bottom).offset(pixw(p: 30))
        }
        
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
